/*
系统登录接口
 */
import axios from '@/http/axios'

export const login = data => {
	return axios({
		url: 'login',
		method: 'post',
		data
	})
}

export const logout = () => {
	return axios({
		url: 'logout',
		method: 'get'
	})
}

//验证码接口
export const captcha = () => {
	return axios({
		url: 'auth/captcha?key=123',
		method: 'get'
	})
}
